def print_max(x, y):
    if x > y:
        print(x, '比较大')
    elif x < y:
        print(y, '比较大')
    else:
        print(x, '等于', y)


print_max(2, 8)
print_max(20, 8)
print_max(8, 8)

x = 30
y = 31

print_max(x, y)
